package com.common.shared.model;

import com.common.shared.SharedClass;
import com.google.gwt.user.client.rpc.IsSerializable;

public class UMObject extends SharedClass implements IsSerializable {

	/**
	 * 
	 */
	public static final int USER = 1;
	public static final int PERMITION = 3;
	public static final int GROUP = 2;

	private long idVal;
	private String textVal;
	private int type;

	// private int caption_id;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public void setIdVal(long idVal) {
		this.idVal = idVal;
	}

	public void setTextVal(String textVal) {
		this.textVal = textVal;
	}

	@Override
	public long getIdVal() {
		// TODO Auto-generated method stub
		return idVal;
	}

	@Override
	public String getTextVal() {
		// TODO Auto-generated method stub
		return textVal;
	}

	// public int getCaption_id() {
	// return caption_id;
	// }
	//
	// public void setCaption_id(int caption_id) {
	// this.caption_id = caption_id;
	// }

}
